package com.etc.entity;

import lombok.ToString;
import org.springframework.stereotype.Component;

@Component
@ToString
public class Cinemas {
    private Integer cinema_no;

    private String cinema_name;

    private Integer cinema_seat;

    private Integer type_no;

    private Types ctypes;

    public Integer getCinema_no() {
        return cinema_no;
    }

    public void setCinema_no(Integer cinema_no) {
        this.cinema_no = cinema_no;
    }

    public String getCinema_name() {
        return cinema_name;
    }

    public void setCinema_name(String cinema_name) {
        this.cinema_name = cinema_name == null ? null : cinema_name.trim();
    }

    public Integer getCinema_seat() {
        return cinema_seat;
    }

    public void setCinema_seat(Integer cinema_seat) {
        this.cinema_seat = cinema_seat;
    }

    public Integer getType_no() {
        return type_no;
    }

    public void setType_no(Integer type_no) {
        this.type_no = type_no;
    }

    public Types getCtypes() {
        return ctypes;
    }

    public void setCtypes(Types ctypes) {
        this.ctypes = ctypes;
    }

    public Cinemas() {
    }

    public Cinemas(Integer cinema_no, String cinema_name, Integer cinema_seat, Integer type_no, Types ctypes) {
        this.cinema_no = cinema_no;
        this.cinema_name = cinema_name;
        this.cinema_seat = cinema_seat;
        this.type_no = type_no;
        this.ctypes = ctypes;
    }

    public Cinemas(Integer cinema_no, String cinema_name, Integer cinema_seat) {
        this.cinema_no = cinema_no;
        this.cinema_name = cinema_name;
        this.cinema_seat = cinema_seat;
    }

    public Cinemas(String cinema_name, Integer cinema_seat, Integer type_no) {
        this.cinema_name = cinema_name;
        this.cinema_seat = cinema_seat;
        this.type_no = type_no;
    }
}